package cn.iocoder.yudao.module.mqtt.controller.admin.devicegroup.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 设备分组新增/修改 Request VO")
@Data
public class DeviceGroupSaveReqVO {

    @Schema(description = "分组 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13626")
    private Long id;

    @Schema(description = "父级ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8793")
    @NotNull(message = "父级ID不能为空")
    private Long parentId;

    @Schema(description = "分组名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "分组名字不能为空")
    private String name;

    @Schema(description = "分组状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "分组状态不能为空")
    private String status;

    @Schema(description = "分组描述", example = "你说的对")
    private String description;

}